package net.oschina.victor.util;

/**
 * 树形结构节点传输类
 * 
 * @author 刘源
 *
 */
public class TreeNode {
	private long id;
	private String text;
	private long parentId;
	private boolean children;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public long getParentId() {
		return parentId;
	}

	public void setParentId(long parentId) {
		this.parentId = parentId;
	}

	public boolean isChildren() {
		return children;
	}

	public void setChildren(boolean children) {
		this.children = children;
	}

}
